mount: Fix gcc -fanalyzer warning for parsing androidboot.slot_suffix
authorColin Walters <walters@verbum.org>
Fri, 14 Jul 2023 10:51:34 +0000 (06:51 -0400)
committerColin Walters <walters@verbum.org>
Fri, 14 Jul 2023 10:51:34 +0000 (06:51 -0400)
commitc078e8bea381349dfc2c3a34188603764b0161ff
tree9df50e2178ad026e14ea9e45df0f637473295f34
parentc4f1d18a30ec954042551700e4deaa6c537b3f93
mount: Fix gcc -fanalyzer warning for parsing androidboot.slot_suffix

If the karg wasn't present, we'd do a NULL deref which is undefined
behavior.
src/switchroot/ostree-mount-util.h